// 定义api的类型接口

// 登录接口
export interface User {
    account: string,
    password: string
}

//搜索、分页
export interface Page {
    currPage: number,
    pageSize: number,
    eui?: string,
    online?: string | boolean,
    agreement?: string,
    data?: any
}

// 添加用户
export interface AccInfo {
    account: string,
    username: string,
    type: string | number,
    desc: string
}

// 添加测试类型
export interface TestType {
    name: string,
    unit: string
}

//删除
export interface Del {
    id: number
}